import request from '@/libs/request'
export const viewId = 'admin-grid';

export function getAdmins(data) {
    return request({
        url: '/sys/rbac/admin/default/index',
        method: 'get',
        params: data,
        viewId: '#' + viewId
    })
}

export function edit(data) {
    return request({
        url: '/sys/rbac/admin/default/index',
        method: 'get',
        data: data,
        viewId: '#' + viewId
    })
}
